import { createRouter, createWebHistory } from 'vue-router'
import { staticRouters } from './modules/staticRouter'
import { businessRouters } from './modules/dynamicRouter'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    ...staticRouters,
    ...businessRouters,
  ],
})

export default router
